page{
  background-color: #f6f6f6;
}
.container{
  overflow: hidden;
  padding: 0 24rpx;
  padding-bottom: 150rpx;
  padding-bottom: calc(constant(safe-area-inset-bottom) + 150rpx);
  padding-bottom: calc(env(safe-area-inset-bottom) + 150rpx);
  .store-info{
    background: #fff;
    box-shadow: 0 0 10rpx 0 rgba(0, 0, 0, 0.1);
    border-radius: 10rpx;
    margin-top: 28rpx;
    padding: 0 16rpx;
    .store-top{
      height: 86rpx;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 2rpx solid #eee;
      .title{
        font-size: 28rpx;
        color: #333;
        .sm{
          font-size: 24rpx;
        }
      }
      .right{
        font-size: 24rpx;
        color: #666;
        display: flex;
        align-items: center;
        text{
          margin-right: 10rpx;
        }
      }
    }
    .info{
      display: flex;
      align-items: center;
      padding: 20rpx 0;
      border-bottom: 2rpx solid #eee;
      .left{
        flex: 1;
        line-height: 44rpx;
        margin-right: 20rpx;
        .title{
          font-size: 30rpx;
          color: #333;
          font-weight: bold;
        }
        .address{
          font-size: 24rpx;
          color: #333;
        }
      }
      .navigation-box{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        .iconfont{
          font-size: 30rpx;
          color: #FFE23E;
        }
        .text{
          font-size: 24rpx;
          color: #999;
        }
      }
    }
    .contact{
      height: 84rpx;
      display: flex;
      align-items: center;
      justify-content: space-between;
      .name{
        font-size: 28rpx;
        color: #333;
      }
      .edit{
        font-size: 28rpx;
        color: #FBB000;
        margin-left: 25rpx;
      }
      .input{
        flex: 1;
        margin-left: 30rpx;
        display: flex;
        align-items: center;
        justify-content: flex-end;
      }
    }
  }
  .goods-box{
    background: #fff;
    box-shadow: 0 0 10rpx 0 rgba(0, 0, 0, 0.1);
    border-radius: 10rpx;
    margin-top: 28rpx;
    .classify-box{
      margin: 0 32rpx;
      border-top: 2rpx solid #eee;
      .classify-title{
        padding: 24rpx 0 24rpx;
        .span{
          font-size: 32rpx;
          color: #333;
        }
        .tips{
          font-size: 26rpx;
          color: #999;
          display: flex;
          align-items: center;
          .red{
            color: #FF4B44;
            margin-left: 10rpx;
          }
        }
      }
      .list{
        .cell{
          display: flex;
          padding: 0 0 24rpx;
          .img{
            width: 120rpx;
            height: 120rpx;
            border-radius: 10rpx;
          }
          .info{
            flex: 1;
            margin-left: 25rpx;
            border-bottom: 2rpx solid #eee;
            padding-bottom: 24rpx;
            .title{
              font-size: 26rpx;
              color: #333;
              line-height: 40rpx;
            }
            .tags{
              display: flex;
              align-items: center;
              margin-top: 8rpx;
              .text{
                font-size: 20rpx;
                color: #799CF2;
                border: 1px solid #799CF2;
                border-radius: 5rpx;
                margin-right: 12rpx;
                padding: 0 6rpx;
              }
              .text:first-child{
                color: #EF9A3F;
                border: 1px solid #EF9A3F;
              }
            }
            .bottom-box{
              display: flex;
              align-items: center;
              justify-content: flex-end;
              margin-top: 20rpx;
              .left{
                display: flex;
                align-items: center;
                .price{
                  font-size: 20rpx;
                  color: #333;
                  .strong{
                    font-size: 30rpx;
                    font-weight: bold;
                  }
                }
                .num{
                  font-size: 26rpx;
                  color: #666;
                  margin-left: 14rpx;
                }
              }
              .right{
                font-size: 26rpx;
                color: #799CF2;
              }
            }
          }
        }
        .cell:last-child{
          .info{
            border-bottom: none;
            padding-bottom: 0;
          }
        }
      }
    }
    .classify-box:first-child{
      border-top: none;
    }
    .other-cell{
      height: 88rpx;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 0 32rpx;
      border-top: 2rpx solid #eee;
      .title{
        font-size: 26rpx;
        color: #333;
      }
      .right{
        display: flex;
        align-items: center;
        .price{
          font-size: 20rpx;
          color: #333;
          .strong{
            font-size: 30rpx;
            font-weight: bold;
          }
        }
        .num{
          font-size: 26rpx;
          color: #666;
          margin-left: 14rpx;
        }
        .coupon-title{
          font-size: 26rpx;
          color: #333;
        }
        .red{
          font-size: 26rpx;
          color: #FF5751;
          margin: 0 25rpx 0 10rpx;
        }
        .coupon-box{
          // background-color: #FF4B44;
          height: 42rpx;
          display: flex;
          align-items: center;
          padding: 0 20rpx;
          margin-right: 20rpx;
          font-size: 18rpx;
          color: #fff;
          background-image: 
            radial-gradient(
              circle at 100% 3px, 
              transparent 4rpx, 
              #FF4B44 4rpx, 
              #FF4B44 0rpx);
          background-size: 100% 6px;
          background-repeat-x: no-repeat;
          position: relative;
          &::after{
            content: '';
            display: block;
            width: 8px;
            height: 8px;
            border-radius: 8px;
            background-color: #fff;
            position: absolute;
            left: 0;
            top: 50%;
            margin: -4px 0 0 -4px;
          }
          &::before{
            content: '';
            display: block;
            width: 1px;
            height: 42px;
            background-color: #fff;
            position: absolute;
            right: 0;
            top: 0;
          }
        }
      }
    }
    .coupon{
      height: auto;
      min-height: 106rpx;
      align-items: flex-start;
      padding: 30rpx 0;
      .right{
        align-items: flex-start;
        justify-content: flex-end;
        flex: 1;
        margin-left: 20rpx;
        .rows{
          flex: 1;
          display: inline-block;
          overflow: hidden;
          word-break: break-all;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 1;
          text-align: right;
        }
        .u-icon{
          margin-top: 8rpx;
        }
        .coupon-list{
          display: flex;
          flex-direction: column;
          .coupon-item{
            display: flex;
            align-items: center;
            justify-content: flex-end;
            height: 40rpx;
          }
        }
      }
    }
    .price-box{
      height: 100rpx;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      margin: 0 32rpx;
      border-top: 2rpx solid #eee;
      .discount-amount{
        font-size: 26rpx;
        color: #333;
        .red{
          color: #FF5751;
        }
      }
      .total-amount{
        font-size: 26rpx;
        color: #333;
        margin-left: 50rpx;
        .unit{
          font-size: 24rpx;
          margin-left: 10rpx;
        }
        .bold{
          font-size: 32rpx;
          font-weight: bold;
        }
      }
    }
  }
  .additional-info{
    background: #fff;
    box-shadow: 0 0 10rpx 0 rgba(0, 0, 0, 0.1);
    border-radius: 10rpx;
    margin-top: 28rpx;
    padding: 20rpx 0;
    .cell{
      padding: 0 26rpx;
      .top{
        height: 60rpx;
        display: flex;
        align-items: center;
        justify-content: space-between;
        .label{
          font-size: 28rpx;
          color: #333;
        }
        .right{
          display: flex;
          align-items: center;
          justify-content: flex-end;
          .value{
            font-size: 28rpx;
            color: #333;
          }
        }
      }
      .tips{
        font-size: 28rpx;
        color: #999;
      }
    }
  }
  .footer{
    background-color: #fff;
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    .content{
      height: 116rpx;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 32rpx;
      .menu-box{
        display: flex;
        align-items: center;
        flex: 1;
        .left{
          height: 88rpx;
          flex: 1;
          background-color: #3D3D3D;
          box-shadow: 0 4rpx 10rpx 0 rgba(61, 61, 61, 0.6);
          border-radius: 44rpx 0 0 44rpx;
          display: flex;
          align-items: center;
          .total{
            margin-left: 50rpx;
            font-size: 24rpx;
            color: #fff;
            .strong{
              font-size: 36rpx;
              color: #fff;
              font-weight: bold;
            }
          }
          .discount-amount{
            font-size: 24rpx;
            color: #999;
            margin-left: 30rpx;
          }
        }
        .right{
          width: 208rpx;
          height: 88rpx;
          background: linear-gradient(0deg, #FBD220, #FFE23E);
          box-shadow: 0 4rpx 10rpx 0 rgba(187, 152, 0, 0.5);
          border-radius: 0 44rpx 44rpx 0;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 28rpx;
          color: #3D3D3D;
        }
      }
    }
  }
  
  
  // 发票弹框
  .invoice-box {
    .title {
      height: 90rpx;
      line-height: 90rpx;
      font-size: 34rpx;
      color: #333;
      text-align: center;
      border-bottom: 1px solid #eee;
    }
    .content {
      .row {
        height: 100rpx;
        line-height: 100rpx;
        text-align: center;
        font-size: 30rpx;
        color: #333;
      }
      
      .c-active {
        color: #FBB000;
      }
    }
  }
  .clear-btn{
    width: 50rpx;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}